#include <iostream>
#include <limits>
using namespace std;

int main()
{
    try
    {
        //int j = 10 / 0;
        int i = numeric_limits<int>::max();
        ++i;
        cout << "Now i is " << i << endl;

    }
    catch(...)
    {
        cout << "caugth exceptioin!" << endl;
    }
    
    return 0;
}
